Optimal. Leaf size=217 \[ -\frac {i \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2}{c (c d x+d)^{3/2} (e-c e x)^{3/2}}+\frac {x \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{(c d x+d)^{3/2} (e-c e x)^{3/2}}+\frac {2 b \left (1-c^2 x^2\right )^{3/2} \log \left (1+e^{2 i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{c (c d x+d)^{3/2} (e-c e x)^{3/2}}-\frac {i b^2 \left (1-c^2 x^2\right )^{3/2} \text {Li}_2\left (-e^{2 i \sin ^{-1}(c x)}\right )}{c (c d x+d)^{3/2} (e-c e x)^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.38, antiderivative size = 217, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.219, Rules used = {4673, 4651, 4675, 3719, 2190, 2279, 2391} \[ -\frac {i b^2 \left (1-c^2 x^2\right )^{3/2} \text {PolyLog}\left (2,-e^{2 i \sin ^{-1}(c x)}\right )}{c (c d x+d)^{3/2} (e-c e x)^{3/2}}-\frac {i \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2}{c (c d x+d)^{3/2} (e-c e x)^{3/2}}+\frac {x \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{(c d x+d)^{3/2} (e-c e x)^{3/2}}+\frac {2 b \left (1-c^2 x^2\right )^{3/2} \log \left (1+e^{2 i \sin ^{-1}(c x)}\right ) \left (a+b \sin ^{-1}(c x)\right )}{c (c d x+d)^{3/2} (e-c e x)^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2190
Rule 2279
Rule 2391
Rule 3719
Rule 4651
Rule 4673
Rule 4675
Rubi steps
\begin {align*} \int \frac {\left (a+b \sin ^{-1}(c x)\right )^2}{(d+c d x)^{3/2} (e-c e x)^{3/2}} \, dx &=\frac {\left (1-c^2 x^2\right )^{3/2} \int \frac {\left (a+b \sin ^{-1}(c x)\right )^2}{\left (1-c^2 x^2\right )^{3/2}} \, dx}{(d+c d x)^{3/2} (e-c e x)^{3/2}}\\ &=\frac {x \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{(d+c d x)^{3/2} (e-c e x)^{3/2}}-\frac {\left (2 b c \left (1-c^2 x^2\right )^{3/2}\right ) \int \frac {x \left (a+b \sin ^{-1}(c x)\right )}{1-c^2 x^2} \, dx}{(d+c d x)^{3/2} (e-c e x)^{3/2}}\\ &=\frac {x \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{(d+c d x)^{3/2} (e-c e x)^{3/2}}-\frac {\left (2 b \left (1-c^2 x^2\right )^{3/2}\right ) \operatorname {Subst}\left (\int (a+b x) \tan (x) \, dx,x,\sin ^{-1}(c x)\right )}{c (d+c d x)^{3/2} (e-c e x)^{3/2}}\\ &=\frac {x \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{(d+c d x)^{3/2} (e-c e x)^{3/2}}-\frac {i \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2}{c (d+c d x)^{3/2} (e-c e x)^{3/2}}+\frac {\left (4 i b \left (1-c^2 x^2\right )^{3/2}\right ) \operatorname {Subst}\left (\int \frac {e^{2 i x} (a+b x)}{1+e^{2 i x}} \, dx,x,\sin ^{-1}(c x)\right )}{c (d+c d x)^{3/2} (e-c e x)^{3/2}}\\ &=\frac {x \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{(d+c d x)^{3/2} (e-c e x)^{3/2}}-\frac {i \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2}{c (d+c d x)^{3/2} (e-c e x)^{3/2}}+\frac {2 b \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1+e^{2 i \sin ^{-1}(c x)}\right )}{c (d+c d x)^{3/2} (e-c e x)^{3/2}}-\frac {\left (2 b^2 \left (1-c^2 x^2\right )^{3/2}\right ) \operatorname {Subst}\left (\int \log \left (1+e^{2 i x}\right ) \, dx,x,\sin ^{-1}(c x)\right )}{c (d+c d x)^{3/2} (e-c e x)^{3/2}}\\ &=\frac {x \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{(d+c d x)^{3/2} (e-c e x)^{3/2}}-\frac {i \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2}{c (d+c d x)^{3/2} (e-c e x)^{3/2}}+\frac {2 b \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1+e^{2 i \sin ^{-1}(c x)}\right )}{c (d+c d x)^{3/2} (e-c e x)^{3/2}}+\frac {\left (i b^2 \left (1-c^2 x^2\right )^{3/2}\right ) \operatorname {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{2 i \sin ^{-1}(c x)}\right )}{c (d+c d x)^{3/2} (e-c e x)^{3/2}}\\ &=\frac {x \left (1-c^2 x^2\right ) \left (a+b \sin ^{-1}(c x)\right )^2}{(d+c d x)^{3/2} (e-c e x)^{3/2}}-\frac {i \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right )^2}{c (d+c d x)^{3/2} (e-c e x)^{3/2}}+\frac {2 b \left (1-c^2 x^2\right )^{3/2} \left (a+b \sin ^{-1}(c x)\right ) \log \left (1+e^{2 i \sin ^{-1}(c x)}\right )}{c (d+c d x)^{3/2} (e-c e x)^{3/2}}-\frac {i b^2 \left (1-c^2 x^2\right )^{3/2} \text {Li}_2\left (-e^{2 i \sin ^{-1}(c x)}\right )}{c (d+c d x)^{3/2} (e-c e x)^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 1.31, size = 550, normalized size = 2.53 \[ \frac {a^2 c x+2 a b \sqrt {1-c^2 x^2} \log \left (\cos \left (\frac {1}{2} \sin ^{-1}(c x)\right )-\sin \left (\frac {1}{2} \sin ^{-1}(c x)\right )\right )+2 a b \sqrt {1-c^2 x^2} \log \left (\sin \left (\frac {1}{2} \sin ^{-1}(c x)\right )+\cos \left (\frac {1}{2} \sin ^{-1}(c x)\right )\right )+2 a b c x \sin ^{-1}(c x)-2 i b^2 \sqrt {1-c^2 x^2} \text {Li}_2\left (-i e^{i \sin ^{-1}(c x)}\right )-2 i b^2 \sqrt {1-c^2 x^2} \text {Li}_2\left (i e^{i \sin ^{-1}(c x)}\right )-i b^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)^2+2 i \pi b^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x)+4 \pi b^2 \sqrt {1-c^2 x^2} \log \left (1+e^{-i \sin ^{-1}(c x)}\right )+2 b^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x) \log \left (1-i e^{i \sin ^{-1}(c x)}\right )+\pi b^2 \sqrt {1-c^2 x^2} \log \left (1-i e^{i \sin ^{-1}(c x)}\right )+2 b^2 \sqrt {1-c^2 x^2} \sin ^{-1}(c x) \log \left (1+i e^{i \sin ^{-1}(c x)}\right )-\pi b^2 \sqrt {1-c^2 x^2} \log \left (1+i e^{i \sin ^{-1}(c x)}\right )-\pi b^2 \sqrt {1-c^2 x^2} \log \left (\sin \left (\frac {1}{4} \left (2 \sin ^{-1}(c x)+\pi \right )\right )\right )-4 \pi b^2 \sqrt {1-c^2 x^2} \log \left (\cos \left (\frac {1}{2} \sin ^{-1}(c x)\right )\right )+\pi b^2 \sqrt {1-c^2 x^2} \log \left (-\cos \left (\frac {1}{4} \left (2 \sin ^{-1}(c x)+\pi \right )\right )\right )+b^2 c x \sin ^{-1}(c x)^2}{c d e \sqrt {c d x+d} \sqrt {e-c e x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.71, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (b^{2} \arcsin \left (c x\right )^{2} + 2 \, a b \arcsin \left (c x\right ) + a^{2}\right )} \sqrt {c d x + d} \sqrt {-c e x + e}}{c^{4} d^{2} e^{2} x^{4} - 2 \, c^{2} d^{2} e^{2} x^{2} + d^{2} e^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \arcsin \left (c x\right ) + a\right )}^{2}}{{\left (c d x + d\right )}^{\frac {3}{2}} {\left (-c e x + e\right )}^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.36, size = 0, normalized size = 0.00 \[ \int \frac {\left (a +b \arcsin \left (c x \right )\right )^{2}}{\left (c d x +d \right )^{\frac {3}{2}} \left (-c e x +e \right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {\frac {b^{2} \int \frac {\arctan \left (c x, \sqrt {c x + 1} \sqrt {-c x + 1}\right )^{2}}{{\left (c x + 1\right )}^{\frac {3}{2}} {\left (c x - 1\right )} \sqrt {-c x + 1}}\,{d x}}{d e}}{\sqrt {d} \sqrt {e}} + \frac {2 \, a b x \arcsin \left (c x\right )}{\sqrt {-c^{2} d e x^{2} + d e} d e} + \frac {a^{2} x}{\sqrt {-c^{2} d e x^{2} + d e} d e} - \frac {a b \sqrt {\frac {1}{d e}} \log \left (x^{2} - \frac {1}{c^{2}}\right )}{c d e} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\left (a+b\,\mathrm {asin}\left (c\,x\right )\right )}^2}{{\left (d+c\,d\,x\right )}^{3/2}\,{\left (e-c\,e\,x\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________